package com.whut.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whut.customer.entity.Plane;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 机型表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-04-12
 */
public interface PlaneListMapper extends BaseMapper<Plane> {

    List<Plane> findMaxPlane(@Param("mainDistance") float mainDistance);

    List<Plane> findMinPlane(@Param("mainDistance") float mainDistance);

    List<Plane> findPlane(@Param("minMainDistance") float minMainDistance,
                    @Param("maxMainDistance") float maxMainDistance);
}
